
//- This Source Code Form is subject to the terms of the Mozilla Public
//- License, v. 2.0. If a copy of the MPL was not distributed with this
//- file, You can obtain one at http://mozilla.org/MPL/2.0/.
//-
//- Copyright (c) 2021-present Kaleidos Ventures SL

.card-tags(ng-if="vm.visible('tags') && vm.item.get('colorized_tags').size")
    span.card-tag(
        tg-repeat="tag in vm.item.get('colorized_tags') track by tag.get('name')"
        ng-style="{'background-color': vm.getTagColor(tag.get('color'))}"
        title="{{::tag.get('name')}}"
    ) {{ vm.zoomLevel == 3 ? tag.get('name') : '' }}
